﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="login.aspx.vb" Inherits="shassan6.login1" %>
<%@ Register src="Webcontrols/Banner.ascx" tagname="Banner" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login</title>
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<uc1:Banner ID="Banner1" runat="server" />
    <form id="form1" runat="server">
    <div>
    <h2>
        Log In
    </h2>
    <table>
    <tr ><td colspan=2>  Please enter your username and password.<p></p>
    <a href="register.aspx">Register</a> if you don't have an account.
    </td></tr>
    <tr>
        <td>User Name</td><td><asp:TextBox id="TxUsername" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="TxUsername" 
                CssClass="failureNotification" ErrorMessage="User Name is required." ToolTip="User Name is required." 
                ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
         </td>
    </tr>
    <tr>
        <td>Password</td><td><asp:TextBox id="TxPassword" runat="server" 
            TextMode="Password"></asp:TextBox>
           <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="TxPassword" 
                                     CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Password is required." 
                                     ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
            
           </td>
    </tr>

   
    <tr>
        <td></td><td>
            <asp:Button ID="BtAdd" runat="server" Text="Login" ValidationGroup="LoginUserValidationGroup" /></td>
    </tr>
    <tr ><td colspan=2>
    <asp:Label ID="LbResult" runat="server"></asp:Label>
    </td></tr>
    </table>
    </div>
    </form>
</body>
</html>
